
                <?php $_from = $this->_var['goods_list_attr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['key'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['key']['total'] > 0):
    foreach ($_from AS $this->_var['goods']):
        $this->_foreach['key']['iteration']++;
?>
                <div class="product_xiangxi_main">
                <div class="index_cont_main">
                    <div class="index_cont_main_img"><a href="/goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>&tid=<?php echo $this->_var['goods']['goods_attr_id']; ?>" target="_blank"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" /></a></div>
                    <div class="index_cont_main_Name"><a href="/goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>&tid=<?php echo $this->_var['goods']['goods_attr_id']; ?>" target="_blank"><?php echo $this->_var['goods']['goods_name']; ?></a></div>
                    <div class="index_cont_main_miaoshu"><?php echo $this->_var['goods']['goods_brief']; ?></div>

                    <div class="index_cont_main_zhanwei">
                    	<div class="index_cont_main_price">
                        	<span class="index_cont_main_price_shop"><?php echo $this->_var['goods']['shop_price']; ?> </span>
							<span class="index_cont_main_price_guige">
                            	<?php if ($this->_var['goods']['attr_value'] != ''): ?>
									<?php echo $this->_var['goods']['attr_value']; ?>
								<?php endif; ?>
                            </span>
							<span class="index_cont_main_price_market">原价 <?php echo $this->_var['goods']['market_price']; ?></span>
                       </div>
                    </div>
                    <div class="copy_zhanwei"></div>

                        <input type="hidden" id="goods_attr_id_<?php echo $this->_var['goods']['goods_attr_id']; ?>" value="<?php echo $this->_var['goods']['goods_attr_id']; ?>" />
                    <div class="index_cont_main_btn">
                            <div class="index_cont_btn_left" style="padding:4px 7px;">
                                <div class="shopping_cup_num_btn" name="JianName"><img src="themes/default/images/jian.gif" onclick="javascript:del(<?php echo $this->_var['goods']['goods_attr_id']; ?>);"/></div>
                                <div class="shopping_cup_num_cont"><input name="number" type="text" maxlength="2" value="1" id="<?php echo $this->_var['goods']['goods_attr_id']; ?>" /></div>
                                <div class="shopping_cup_num_btn" name="JiaName"><img src="themes/default/images/jia.gif" onclick="javascript:add(<?php echo $this->_var['goods']['goods_attr_id']; ?>);"/></div>
                            </div>
                            <div class="index_cont_btn_right" onclick="javascript:search_init_addtocart(<?php echo $this->_var['goods']['goods_id']; ?>,<?php echo $this->_var['goods']['goods_attr_id']; ?>);"></div>
                    </div>
                </div>
                </div>
                    <?php if ($this->_foreach['key']['iteration'] % 3 != 0): ?>
                    <div class="index_cont_border"></div>
                    <?php endif; ?>
                <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>